﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using com.creditos.be.liclSolcred;

namespace liclSolcred.Views
{
    public class FormsConUsuarioPresenter : liclSolcred.Views.Viewer<IFormsManSolicitudView>
    {
        liclSolcredController oController = new liclSolcredController();
        public FormsConUsuarioPresenter()
        {
        
        }

        public List<com.creditos.be.liclSolcred.RepresentanteBE> ListarRepresentante(com.creditos.be.liclSolcred.RepresentanteBE oRepresentante)
        {
            List<RepresentanteBE> lstRepresentante = new List<RepresentanteBE>();
            try
            {
                
                lstRepresentante = oController.ListarReprsentante(oRepresentante);
                
            }
            catch (Exception ex)
            {
                View.MostrarMensajeError(ex.Message);
            }

            return lstRepresentante;
        }
    }
}
